<template>
  <div class="flex mx-5 w-full">
    <el-input
      :autosize="{ minRows: 1, maxRows: 4 }"
      v-model="inputValue"
      placeholder="向大模型提问吧~"
      type="textarea"
      class="mr-2"
      maxlength="300"
      show-word-limit
    >
    </el-input>
    <el-button type="primary" class="w-24">
      <Icon icon="line-md:telegram" class="mr-2"></Icon>
      <!-- <el-icon class="mr-2"><Promotion /></el-icon> -->
      发送
    </el-button>
  </div>
</template>

<script setup lang="ts">
const inputValue = defineModel<string>();
</script>

<style scoped></style>
